#ifndef FEEDRSS_H
#define FEEDRSS_H

#include <QObject>
#include <QList>
#include <QPair>
#include <QString>
#include <QDebug>

class FeedRSS : QObject
{
	Q_OBJECT
	
private:
	// Title, LinkURL
	QList< QPair<QString, QString> > *items;	// a QList and not a QMap to preserve the natural order
	QString *feedTitle;
	QString *feedDescription;
	QString *feedLink;

public:
	FeedRSS(QString newTitle, QString newDescription, QString newLink);
	FeedRSS();	// empty constructor for convenience
	QList< QPair<QString, QString> > *getItems();
	QString *getFeedTitle();
	QString *getFeedDescription();
	QString *getFeedLink();
	void setFeedTitle(QString newTitle);
	void setFeedDescription(QString newDescription);
	void setFeedLink(QString newLink);	
};
#endif
